package com.youbar.client.dto;

import java.io.Serializable;

/**
 * 用户登录
 */
//@ApiModel(description = "用户登录")
//@Data
public class LoginDto implements Serializable {

    private static final long serialVersionUID = 7231553757588660849L;

//    @ApiModelProperty(value = "用户账号")
//    @NotNull(message = "手机号码不能为空")
//    @Pattern(regexp = "^1(3|4|5|7|8)\\d{9}$",message = "手机号码格式错误")
    private String account;

//    @ApiModelProperty(value = "用户密码")
//    @NotNull(message = "密码不能为空")
    private String password;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
